home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / status / led-cpum.txt < prev    next >
Encoding:
Text File  |  1996-11-17  |  907 b   |  22 lines

  1. meter - an LED cpu metering application for Linux machines
  2. Written by Richard Laxton ( u2105546@cumulus.csd.unsw.oz.au )
  3.  
  4. This program uses the hardware described in the included file "led-stat.txt"
  5. to create a CPU meter that displays on eight LEDs connected to your parallel
  6. port. The code to gather cpu statistics was modified from code written by Mike
  7. Romberg as part of Xosview. Here is the copyright included from that code.
  8.  
  9. //
  10. //  Copyright (c) 1994 by Mike Romberg (  romberg@md.fsl.noaa.gov )
  11. //
  12. //  This file may be distributed under terms of the GPL
  13. //
  14.  
  15. To compile just run "make". A precompiled version is already included.
  16. Note that the resulting code will only work if "make" is run as root. This
  17. is because the code makes use of direct I/O calls that must be executed as
  18. root. Once compiled, the program "meter" is set up as a setuid program so
  19. can be run by anyone and work.
  20.  
  21. Happy Hacking.
  22.